home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Magnum One
/
Magnum One (Mid-American Digital) (Disc Manufacturing).iso
/
d1
/
drnu451.arc
/
NUFA
< prev
next >
Wrap
Text File
|
1990-10-19
|
5KB
|
115 lines
FA (File Attributes)
Description: Searches for files and displays file attributes. This command
can also set and clear file attributes.
Syntax: Version 3.0: FA [(drive:)][(path)][(filespec)] [/A{+|-}]
[/R{+|-}] [/P] [/T] [/U]
Version 3.1: FA [(drive:)][(path)][(filespec)] [/A{+|-}]
[/HID{+|-}] [/R{+|-}] [/SYS{+|-}] [/P] [/S]
[/T] [/U]
Version 4.0, 4.5: FA [(drive:)][(path)][(filespec)]
[/A{+|-}] [/HID{+|-}] [/R{+|-}]
[/SYS{+|-}] [/CLEAR] [/P] [/S] [/T] [/U]
Parameters:
(drive:) The single-letter specifier (A:, B:, C:, etc.) for the drive
you want to search. Follow the letter with a colon. The
current drive is the default.
(path) The full name (C:\WP\LETTERS) of the directory you want to
search. The current directory for the designated drive is the
default.
(filespec) The name of the file for which you want to search. The default
(filespec) is *.*.
/A Searches only for files with the archive attribute.
/A+ Sets (turns on) the archive attribute on all files whose names
match (drive:)\(path)\(filespec).
/A- Clears (turns off) the archive attribute on all files with the
archive attribute set and whose names match
(drive:)\(path)\(filespec).
/CLEAR Clears (turns off) all file attributes on all files whose
names match (drive:)\(path)\(filespec).
/HID Searches only for files with the hidden attribute.
/HID+ Sets (turns on) the hidden attribute on all files whose names
match (drive:)\(path)\(filespec).
/HID- Clears (turns off) the hidden attribute on all hidden files
whose names match (drive:)\(path)\(filespec).
/P Displays the results in pause mode: You initially see one
screenful of information, and you must press a key to see each
subsequent screenful.
Versions 3.0 and 3.1: Press any key to see the next screenful. Press the
Pause key to pause at any time. You cannot activate
pause mode after FA begins executing. Use Ctrl-C
(^C) or Ctrl-Break (^[) to stop execution.
Versions 4.0 and 4.5: Press the Spacebar to see the next screenful. Press
the Enter key to scroll up one line at a time. Press
any key other than Spacebar, Enter, or Escape to
exit pause mode. You can also enter pause mode
during normal display by pressing any key other than
Escape. Use the Escape (ESC) key to stop execution.
/R Searches only for files with the read-only attribute.
/R+ Sets (turns on) the read-only attribute on all files whose
names match (drive:)\(path)\(filespec).
/R- Resets (turns off) the read-only attribute on all files that
are marked read-only and whose names match
(drive:)\(path)\(filespec).
/S Searches all files in all subdirectories under the current or
specified path.
/SYS Searches only for files with the system attribute.
/SYS+ Sets (turns on) the system attribute on all files whose names
match (drive:)\(path)\(filespec).
/SYS- Resets (turns off) the system attribute on all system files
whose names match (drive:)\(path)\(filespec).
/T Displays the total number of files whose attributes FA has
changed. FA displays a total for each directory. If FA is in
pause mode (see /P), the utility might pause several times
before you see a total.
/U Displays all unusual files; that is, those with any of the
four file attributes set.
Example: To reset the read-only attribute on all files in the WP\LTR
directory on the current drive and to display the names of all
files that have the archive, the system, or the hidden
attribute.
Enter: FA \wp\ltr /R- /U
See: <NUFF>, <NUFI>, <NUFS>, <NULD>, <NUNCD>.